package com.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.pojo.HotEvents;

import java.util.List;

@Mapper
public interface HotEventsDao {
    List<HotEvents> getHotEvents(@Param("keyWord") String keyWord);

    HotEvents getHotEventInfo(@Param("id") Integer id);

    void updateSearchSum(@Param("id") Integer id, @Param("searchSum") Integer searchSum);
}
